﻿using Framework;

public abstract class BaseEventEffector
{
    public virtual void DoStart(ObjHandle<LogicEntity> owner)
    { }

    public abstract void DoEvent(ObjHandle<LogicEntity> owner, params object[] allParams);
    
    public virtual void DoFinish(ObjHandle<LogicEntity> owner)
    { }

    public abstract void Serialize(EByte ms);

    public abstract void Deserialize(EByte ms);

    public abstract void OnDestroy();
}